package com.jic.manager.mapper;

import com.jic.manager.entity.RegionProvince;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 地址销售区域关联表
 * @author : 
 * @email : 
 * @since : 2020-02-08 05:59:30
 * @version : v1.0.0
 */
@Mapper
public interface  RegionProvinceMapper {

    long insert(RegionProvince regionProvince);

    long delete(Long id);

    long update(RegionProvince regionProvince);

    RegionProvince queryByPrimaryKey(Long id);

    List<RegionProvince> query(RegionProvince regionProvince);

    List<RegionProvince> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("regionProvince") RegionProvince regionProvince);

    long queryPageCount(RegionProvince regionProvince);
}